﻿<dialogs:ClosableDialogWindow x:Class="Mnk.Library.WpfControls.Dialogs.InputComboBox"
             xmlns:loc="clr-namespace:Mnk.Library.WpfControls.Localization"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                                             xmlns:dialogs="clr-namespace:Mnk.Library.WpfControls.Dialogs"
                                             mc:Ignorable="d" 
             Height="130" Width="350" 
             MinHeight="130" MinWidth="350" MaxHeight="130"
             WindowStyle="SingleBorderWindow" 
             ResizeMode="NoResize"
             IsVisibleChanged="OnIsVisibleChanged">
    <DockPanel >
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" DockPanel.Dock="Bottom">
            <Button Name="btnOk" Content="{loc:Tr OK}" Width="64" Margin="10" IsDefault="True" Click="BtnOk_OnClick" ToolTipService.ShowOnDisabled="True"/>
            <Button Content="{loc:Tr Cancel}" Width="64" Margin="10" IsCancel="True"/>
        </StackPanel>
        <StackPanel Margin="5" VerticalAlignment="Center">
            <Label Name="lbCaption" Padding="0" Content="label"/>
            <ComboBox Name="edData" Margin="0" Focusable="True" IsTabStop="True" HorizontalAlignment="Stretch"/>
        </StackPanel>
    </DockPanel>
</dialogs:ClosableDialogWindow>